package dvsdk.form;

import java.io.File;
import java.io.FileFilter;

/**
 *
 * @author Develop
 */
public class SuffixFilter implements FileFilter {
    private String ext;

    public SuffixFilter(String ext) {
        this.ext=ext;
    }
    
    @Override
    public boolean accept(File pathname) {
        return pathname.getName().endsWith(ext);
    }
    
}
